home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / aed244a.zip / RSB4ETOG.MRG < prev    next >
Text File  |  1991-02-16  |  3KB  |  75 lines

  1. * ------------[ BLED merge (c) Ken Goosens ]-------------
  2. * Merge this against RBBSSUB4.BAS to produce RSB4ETOG.BAS
  3. * RBBSSUB4.BAS:  Date 8-26-1990  Size 126891 bytes
  4. * ------------[ Created 09-20-1990 15:20:25 ]------------
  5. * REPLACING old line(s) by new
  6. 57000 ' $SUBTITLE: 'Toggle - Toggle User Preferences'
  7. ' $PAGE
  8. '
  9. '  NAME    -- Toggle
  10. '
  11. '  INPUTS  -- ToggleOption      Option to toggle or view
  12. '                               according to the following:
  13. '    ToggleOption         PREFERENCE
  14. '   Toggle   VIEW
  15. '     1       -1           Autodownload
  16. '     2       -2           Bulletin review on logon
  17. '     3       -3           Case change
  18. '     4       -4           File review on logon
  19. '     5       -5           Highlight
  20. '     6       -6           Line feeds
  21. '     7       -7           Nulls
  22. '     8       -8           TurboKey
  23. '     9       -9           Expert
  24. '    10      -10           Bell
  25. * ------[ first line different ]------
  26. '    11      -11           Editor
  27. '
  28. '  OUTPUTS -- ZSubParm   passed from TPut
  29. '
  30. '  PURPOSE -- Sets or views any single user preference value
  31. '
  32.       SUB Toggle (ToggleOption) STATIC
  33.       ZSubParm = 0
  34.       IF ToggleOption < 0 THEN _
  35.          GOTO 57005
  36.       ON ToggleOption GOSUB _
  37.          57010, _         'Autodownload
  38.          57120, _         'Bulletin review on logon
  39.          57260, _         'Case change
  40.          57150, _         'File review on logon
  41.          57040, _         'Highlight
  42.          57100, _         'Line feeds
  43.          57210, _         'Nulls
  44.          57230, _         'TurboKey
  45.          57190, _         'Expert
  46.          57170, _         'Bell
  47.          57290            'Editor
  48.       EXIT SUB
  49. * REPLACING old line(s) by new
  50. 57005 CALL AskMore ("",ZTrue,ZTrue,WasX,ZTrue)
  51.       ON -ToggleOption GOSUB _
  52.          57030, _         'Autodownload
  53.          57130, _         'Bulletin review on logon
  54.          57270, _         'Case change
  55.          57160, _         'File review on logon
  56.          57050, _         'Highlight
  57.          57110, _         'Line feeds
  58.          57220, _         'Nulls
  59.          57240, _         'TurboKey
  60.          57200, _         'Expert
  61. * ------[ first line different ]------
  62.          57180, _         'Bell
  63.          57300            'Editor
  64.       EXIT SUB
  65. * REPLACING old line(s) by new
  66. 57280 ZUseTPut = (ZUpperCase OR ZXOnXOff)
  67.       RETURN
  68. * ------[ first line different ]------
  69. * INSERTING new line(s)
  70. 57290 ZFullScreenEditor = NOT ZFullScreenEditor
  71. 57300 CALL QuickTPut1 ("Full Screen Editor " + FNOffOn$(ZFullScreenEditor))
  72.       RETURN
  73.       END SUB
  74. '
  75.